<div class="content">
<div class="introca"><?echo $html->getContent('cIntro');?></div>


<?
if(count($products)==0)
{
?>
    <div class="notfound"><?php echo getLang('Not found Product')?></div>
<?
}
?>
<?php 
if(!is_array($products))
{
    $products   = array();
}
foreach($products as $product)
{
    $imglink    = GetIntroImg($product['cImage'],true);
    $link       = $linkProduct.'/'.getLinkCatProduct($product['iParentId']).$product['cUrlString'].'.htm';
    
    if($product['cDepository']==0 || empty($product['cDepository']))
    {
        $product['cDepository'] = getLang('Sold Out');
    }else
    {
        $product['cDepository'] = getLang('Sold In');
    }
?>
<div class="product">
    <div class="img">
        <a href="<?php echo $link?>">
            <img src="<?php echo $imglink?>" border="0" width="100%" />
        </a>
    </div>
    <div class="tt"><?php echo $product['cName']?></div>
    <div class="sta"><?php echo $product['cDepository']?></div>
    <div class="pri"><?php echo getPriceClient($product['cPrice'])?></div>
    <div class="but">
        <a class="ctiet" href="<?php echo $link?>"></a> 
        <a class="book" href="<?php echo $link?>"></a> 
    </div>
</div>
<?
}
?>
<div style="clear: both;">&nbsp;</div>
</div>